.floating-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
    padding: 10px 0;
    z-index: 1000;
    border: 1px solid var(--primary-color);
}

.nav-item {
    display: block;
    padding: 10px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-item:hover {
    color: var(--primary-color);
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .floating-nav {
        right: 10px;
        padding: 5px 0;
    }
    
    .nav-item {
        padding: 8px 12px;
        font-size: 12px;
    }
} 